WpfScheduler

StockSharp.Xaml

任务调度器使用WPF计时器.

继承自: Disposable

构造函数

WpfScheduler
public WpfScheduler(IEnumerable<TTask> tasks)
wpfScheduler = WpfScheduler(tasks)

初始化了 & ##WpfScheduler+#的新实例.

tasks
任务

属性

Interval
public TimeSpan Interval { get; set; }
value = wpfScheduler.Interval
wpfScheduler.Interval = value

相会相会.

方法

DisposeManaged
protected override void DisposeManaged()
wpfScheduler.DisposeManaged()

释放资源。

Start
public void Start()
wpfScheduler.Start()

开始

Stop
public void Stop()
wpfScheduler.Stop()

别闹了

事件

Starting
public event Action<IEnumerable<TTask>> Starting
wpfScheduler.Starting += handler

开始任务事件 。

Stopping
public event Action<IEnumerable<TTask>> Stopping
wpfScheduler.Stopping += handler

停止任务事件 。